package com.boruishangge.order.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;

import com.boruishangge.order.R;
import com.boruishangge.order.databinding.FragmentOrderListViewBinding;
import com.boruishangge.persagysdk.base.BaseFragment;

public class OrderListFragment extends BaseFragment {


    private FragmentOrderListViewBinding binding;
    View rootView;
    private  String name;


    private static  OrderListFragment   sInstance;

    public  static OrderListFragment  getInstance(){
        if (sInstance == null) {
            sInstance =new  OrderListFragment();
        }
        return  sInstance;
    }
    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        if (rootView==null){
            rootView = inflater.inflate(R.layout.fragment_order_list_view, container, false);
            binding = DataBindingUtil.bind(rootView);
            initView();
            initData();
            initListener();
        }
        return  rootView;
    }


    private  void  initView(){

    }

    private  void  initData(){

    }


    private  void  initListener(){

    }
}
